package com.atguigu.rule;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;

/**
 * @Author lizhilong
 * @create 2020/5/3 9:55
 * @desc
 */
//@Configuration
public class MySelfRule {

    //@Bean
    public IRule myRule(){
        return  new RandomRule();
        //return new TimeRule();
    }
}
